package com.itheima.javawork.day04.test5;

public class TestInterface {
    public static void main(String[] args) {
        InterImpl inter = new InterImpl();
        inter.show();
    }
}

class InterImpl extends Fu implements Inter{

}
class Fu{
    public  void show(){
        System.out.println("fu类。。。show方法");
    }
}

interface Inter{
    public default void show(){
        System.out.println("Inter。。。show方法");
    }
}